// ConfigController.js
// ====================

/* configuration array */
var config = require('./conf/config.js');

module.exports = {
	/* reads a configuration */
	read: function(key) {
	
		if (config[key]==undefined) {
			return false;
		}
		
		return config[key];
	
	},
	/* changes or creates a configuration - only during this execution */
	write: function(key,value) {
	
		config[key]=value;
	
	}
};